package com.ruoyi.project.gxgw_modules.machine.domain;

import com.fasterxml.jackson.annotation.JsonIgnore;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 设备表 cxj_machine
 * 
 * @author ruoyi
 * @date 2019-01-17
 */
public class Machine extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 序号 */
	private Integer macId;
	/** 设备编号（手动) */
	private String macUids;
	/** 设备地址(手动) */
	private String macAddress;
	/** 设备经度(手动) */
	private Float macLong;
	/** 设备纬度(手动) */
	private Float macLat;
	/** 设备使用状态(一直默认0),设备关机socket */
	private Integer macState;
	/** 锁状态 */
	private Integer lockState;
	/** 摄像头状态1，正常，0，关闭，2，使用中，-1，不可用；默认（1：正常）  */
	private Integer ipcarmarState;
	/** 摄像头ID */
	private String ipcarmar;
	/** 摄像头账户 */
	private String ipcarmarAdmin;
	/** 摄像头密码 */
	private String ipcarmarPwd;
	/** 风扇状态 */
	private Integer fanState;
	/** 紫外线灯管状态 */
	private Integer ledState;
	/** 排序 */
	private Integer order;
	/** 创建人 */
	private String createBy;
	/** 创建时间 */
	private Date createDate;
	/** 上传修改时间 */
	private Date updateDate;
	/** 修改人 */
	private String updateBy;
	/** 备注 */
	private String remarks;
	/**  */
	private String delFlag;

	public void setMacId(Integer macId) 
	{
		this.macId = macId;
	}

	public Integer getMacId() 
	{
		return macId;
	}
	public void setMacUids(String macUids) 
	{
		this.macUids = macUids;
	}

	public String getMacUids() 
	{
		return macUids;
	}
	public void setMacAddress(String macAddress) 
	{
		this.macAddress = macAddress;
	}

	public String getMacAddress() 
	{
		return macAddress;
	}
	public void setMacLong(Float macLong) 
	{
		this.macLong = macLong;
	}

	public Float getMacLong() 
	{
		return macLong;
	}
	public void setMacLat(Float macLat) 
	{
		this.macLat = macLat;
	}

	public Float getMacLat() 
	{
		return macLat;
	}
	public void setMacState(Integer macState) 
	{
		this.macState = macState;
	}

	public Integer getMacState() 
	{
		return macState;
	}
	public void setLockState(Integer lockState) 
	{
		this.lockState = lockState;
	}

	public Integer getLockState() 
	{
		return lockState;
	}
	public void setIpcarmarState(Integer ipcarmarState) 
	{
		this.ipcarmarState = ipcarmarState;
	}

	public Integer getIpcarmarState() 
	{
		return ipcarmarState;
	}
	public void setIpcarmar(String ipcarmar) 
	{
		this.ipcarmar = ipcarmar;
	}

	public String getIpcarmar() 
	{
		return ipcarmar;
	}
	public void setIpcarmarAdmin(String ipcarmarAdmin) 
	{
		this.ipcarmarAdmin = ipcarmarAdmin;
	}

	public String getIpcarmarAdmin() 
	{
		return ipcarmarAdmin;
	}
	public void setIpcarmarPwd(String ipcarmarPwd) 
	{
		this.ipcarmarPwd = ipcarmarPwd;
	}

	public String getIpcarmarPwd() 
	{
		return ipcarmarPwd;
	}
	public void setFanState(Integer fanState) 
	{
		this.fanState = fanState;
	}

	public Integer getFanState() 
	{
		return fanState;
	}
	public void setLedState(Integer ledState) 
	{
		this.ledState = ledState;
	}

	public Integer getLedState() 
	{
		return ledState;
	}
	public void setOrder(Integer order) 
	{
		this.order = order;
	}

	public Integer getOrder() 
	{
		return order;
	}
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}

	public String getCreateBy() 
	{
		return createBy;
	}
	public void setCreateDate(Date createDate) 
	{
		this.createDate = createDate;
	}

	public Date getCreateDate() 
	{
		return createDate;
	}
	public void setUpdateDate(Date updateDate) 
	{
		this.updateDate = updateDate;
	}

	public Date getUpdateDate() 
	{
		return updateDate;
	}
	public void setUpdateBy(String updateBy) 
	{
		this.updateBy = updateBy;
	}

	public String getUpdateBy() 
	{
		return updateBy;
	}
	public void setRemarks(String remarks) 
	{
		this.remarks = remarks;
	}

	public String getRemarks() 
	{
		return remarks;
	}
	public void setDelFlag(String delFlag) 
	{
		this.delFlag = delFlag;
	}

	public String getDelFlag() 
	{
		return delFlag;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("macId", getMacId())
            .append("macUids", getMacUids())
            .append("macAddress", getMacAddress())
            .append("macLong", getMacLong())
            .append("macLat", getMacLat())
            .append("macState", getMacState())
            .append("lockState", getLockState())
            .append("ipcarmarState", getIpcarmarState())
            .append("ipcarmar", getIpcarmar())
            .append("ipcarmarAdmin", getIpcarmarAdmin())
            .append("ipcarmarPwd", getIpcarmarPwd())
            .append("fanState", getFanState())
            .append("ledState", getLedState())
            .append("order", getOrder())
            .append("createBy", getCreateBy())
            .append("createDate", getCreateDate())
            .append("updateDate", getUpdateDate())
            .append("updateBy", getUpdateBy())
            .append("remarks", getRemarks())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
